<?php
include("../inc/Function.php");
if($_SESSION['a']['alevel']!=5 && $power['gggl']!=1){
	echo "<script>alert('权限不足');window.location.href='index.php';</script>";exit;
}
$msg = 0;
if(isset($_GET['infoid'])){
	$info = getinfo($_GET['infoid']);
	if($info){
		$msg = 1;
		$tpl->assign('info',$info);
	}
}
$tpl->assign('msg',$msg);
$tpl->show('info');
?>